-- do function shit, id is of unit that was ordered
function func(id)
	unit = GetUnitInfo(id)
	tile = GetTileInfo(unit['position'])
	city = CreateCity(unit['position'], unit['owner'])
	DeleteUnit(id)
	GarrisonArmy(unit['container'], city)
	print('Done')
	return 1
end